<?php
	//Hien thi database
	$result = mysql_query("SELECT * FROM member");
	echo "<table border='1' cellpadding=5px width=100%'><tr><th>Ma</th><th>User</th><th>Password</th><th>Email</th><th>BirthDay</th><th>Phone</th><th>Role</th></tr>";
	while($row = mysql_fetch_array($result))
	{
	echo "<tr>";
	echo "<td><a id='h1' href='delete.php?MATHANHVIEN=2'><img src='icons/delete-icon.png' alt='Delete'/>".$row['MATHANHVIEN']."</a></td>";
	//echo "<td>".$row['IDTHANHVIEN']."</td>";
	echo "<td>".$row['MATHANHVIEN']."</td>";
	echo "<td>".$row['IDTHANHVIEN']."</td>";
	echo "<td>".$row['PASS']."</td>";
	echo "<td>".$row['EMAIL']."</td>";
	echo "<td>".$row['NGAYSINH']."</td>";
	echo "<td>".$row['PHONE']."</td>";
	echo "<td>".$row['ROLE']."</td>";
	echo "</tr>";
	}
	echo "</table>";
	mysql_close($con);
?>